package com.huaxiafinance.management.dto.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/12/6.
 */
public class UpdatePackageDto {
    private Integer id;
    @NotBlank(message ="套餐名称不能为空")
    private String name;
    @NotBlank(message ="套餐价格不能为空")
    private String price;
    @NotNull(message ="套餐类型不能为空")
    private String pType;
    @NotNull(message ="购买限制不能为空")
    private Integer isLimit;

    private Integer isSendGrowthValue;

    private Integer sendScore;
    @NotNull(message ="是否赠送趣贝不能为空")
    private Integer isGiveScore;
    @NotNull(message ="操作人不能为空")
    private Integer adminId;

    private String packageUuid;

    public String getPackageUuid() {
        return packageUuid;
    }

    public void setPackageUuid(String packageUuid) {
        this.packageUuid = packageUuid;
    }

    public Integer getSendScore() {
        return sendScore;
    }

    private Integer sort;

    private Integer creater;

    private Date gmtCreate;

    private String availableTxt;

    private Integer modifier;

    private Date gmtModified;

    //可选套餐图片
    private List<String>opPackageImgs;
    //套餐描述图片
    private List<String>packageDescImgs;
    //附加内容图片
    private List<String>addtionalImgs;

    public String getAvailableTxt() {
        return availableTxt;
    }

    public void setAvailableTxt(String availableTxt) {
        this.availableTxt = availableTxt;
    }

    public String getPackageTxt() {
        return packageTxt;
    }

    public void setPackageTxt(String packageTxt) {
        this.packageTxt = packageTxt;
    }

    public String getAdditionalTxt() {
        return additionalTxt;
    }

    public void setAdditionalTxt(String additionalTxt) {
        this.additionalTxt = additionalTxt;
    }

    private String packageTxt;

    private String additionalTxt;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setSendScore(Integer sendScore) {
        this.sendScore = sendScore;
    }

    public Integer getIsGiveScore() {
        return isGiveScore;
    }

    public void setIsGiveScore(Integer isGiveScore) {
        this.isGiveScore = isGiveScore;
    }

    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType;
    }

    public Integer getIsLimit() {
        return isLimit;
    }

    public void setIsLimit(Integer isLimit) {
        this.isLimit = isLimit;
    }

    public Integer getIsSendGrowthValue() {
        return isSendGrowthValue;
    }

    public void setIsSendGrowthValue(Integer isSendGrowthValue) {
        this.isSendGrowthValue = isSendGrowthValue;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getModifier() {
        return modifier;
    }

    public void setModifier(Integer modifier) {
        this.modifier = modifier;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public List<String> getOpPackageImgs() {
        return opPackageImgs;
    }

    public void setOpPackageImgs(List<String> opPackageImgs) {
        this.opPackageImgs = opPackageImgs;
    }

    public List<String> getPackageDescImgs() {
        return packageDescImgs;
    }

    public void setPackageDescImgs(List<String> packageDescImgs) {
        this.packageDescImgs = packageDescImgs;
    }

    public List<String> getAddtionalImgs() {
        return addtionalImgs;
    }

    public void setAddtionalImgs(List<String> addtionalImgs) {
        this.addtionalImgs = addtionalImgs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
